import { Route } from 'react-router-dom'
import CityList from './pages/CityList/index.js';
import Home from './pages/Home/index.js';
function App() {
  return (
    <div className="App">

      {/* 配置路由 */}
      {/* <Redirect from='/' to='/home'></Redirect> */}
      <Route path="/home" component={Home} />
      <Route path="/citylist" component={CityList} />
    </div>
  );
}

export default App;
